package cn.com.bdqn.service.impl;

import cn.com.bdqn.dao.CstServiceDao;
import cn.com.bdqn.entity.CstService;
import cn.com.bdqn.service.CstServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CstServiceServiceImpl implements CstServiceService {

    @Autowired
    private CstServiceDao dao;

    @Override
    public int addCstService(CstService cstService) {
        return dao.addCstService(cstService);
    }

    @Override
    public int assignment(CstService cstService) {
        return dao.assignment(cstService);
    }

    @Override
    public List<Map> queryByLike(CstService cstService) {
        return dao.queryByLike(cstService);
    }

    @Override
    public int delCstService(Long svrId) {
        return dao.delCstService(svrId);
    }

    @Override
    public int dispose(CstService cstService) {
        return dao.dispose(cstService);
    }

    @Override
    public int feedback(CstService cstService) {
        return dao.feedback(cstService);
    }

    @Override
    public int anew(CstService cstService) {
        return dao.anew(cstService);
    }

    @Override
    public Map queryBySvrId(Long svrId) {
        return dao.queryBySvrId(svrId);
    }
}
